<?php
date_default_timezone_set ( 'Asia/Shanghai' );
?>
<!DOCTYPE html>
<html lang="en">
<head>
<!--
     ===
     This comment should NOT be removed.

     Charisma v2.0.0

     Copyright 2012-2014 Muhammad Usman
     Licensed under the Apache License v2.0
     http://www.apache.org/licenses/LICENSE-2.0

     http://usman.it
     http://twitter.com/halalit_usman
     ===
 -->
<meta charset="utf-8">
<block name="title">
<title>蔬菜管理后台</title>
</block>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description"
	content="Charisma, a fully featured, responsive, HTML5, Bootstrap admin template.">
<meta name="author" content="Muhammad Usman">

<!-- The styles -->
<link href='__PUBLIC__/css/bootstrap.min.css' rel='stylesheet'>
<link id="bs-css" href="__PUBLIC__/css/bootstrap-cerulean.min.css"
	rel="stylesheet">

<link href="__PUBLIC__/css/charisma-app.css" rel="stylesheet">
<link
	href='__PUBLIC__/bower_components/fullcalendar/dist/fullcalendar.css'
	rel='stylesheet'>
<link
	href='__PUBLIC__/bower_components/fullcalendar/dist/fullcalendar.print.css'
	rel='stylesheet' media='print'>
<link href='__PUBLIC__/bower_components/chosen/chosen.min.css'
	rel='stylesheet'>
<link href='__PUBLIC__/bower_components/colorbox/example3/colorbox.css'
	rel='stylesheet'>
<link
	href='__PUBLIC__/bower_components/responsive-tables/responsive-tables.css'
	rel='stylesheet'>
<link
	href='__PUBLIC__/bower_components/bootstrap-tour/build/css/bootstrap-tour.min.css'
	rel='stylesheet'>
<link href='__PUBLIC__/css/jquery.noty.css' rel='stylesheet'>
<link href='__PUBLIC__/css/noty_theme_default.css' rel='stylesheet'>
<link href='__PUBLIC__/css/elfinder.min.css' rel='stylesheet'>
<link href='__PUBLIC__/css/elfinder.theme.css' rel='stylesheet'>
<link href='__PUBLIC__/css/jquery.iphone.toggle.css' rel='stylesheet'>
<link href='__PUBLIC__/css/uploadify.css' rel='stylesheet'>
<link href='__PUBLIC__/css/animate.min.css' rel='stylesheet'>

<!-- <link href='__PUBLIC__/css/jquery.dataTables.css' rel='stylesheet'> -->
<link href='__PUBLIC__/css/dataTables.bootstrap.css' rel='stylesheet'>
<link href='__PUBLIC__/css/bootstrap-switch.min.css' rel='stylesheet'>

<!-- jQuery -->
<script src="__PUBLIC__/bower_components/jquery/jquery.min.js"></script>

<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
 <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
 <![endif]-->

<!-- The fav icon -->
<link rel="shortcut icon" href="__PUBLIC__/img/logo.ico">

</head>

<body>

	<div class="navbar navbar-default" role="navigation">
		<div class="navbar-inner">
			<button type="button" class="navbar-toggle pull-left animated flip">
				<span class="sr-only">Toggle navigation</span> <span
					class="icon-bar"></span> <span class="icon-bar"></span> <span
					class="icon-bar"></span>
			</button>
			<a class="navbar-brand" href="index.php"> <img alt="Charisma Logo"
				src="__PUBLIC__/img/logo20.png" class="hidden-xs" /> <span>蔬菜</span></a>

			<!-- user dropdown starts -->
			<div class="btn-group pull-right">
				<button class="btn btn-default dropdown-toggle"
					data-toggle="dropdown">
					<i class="glyphicon glyphicon-user"></i><span
						class="hidden-sm hidden-xs">{$Think.session.auth.name}</span> <span class="caret"></span>
				</button>
				<ul class="dropdown-menu">
					<li><a href="__APP__/Admin/Staff/update">修改密码</a></li>
					<li class="divider"></li>
					<li><a href="__APP__/Admin/Index/logout">注销</a></li>
				</ul>
			</div>
			<!-- user dropdown ends -->

			<!-- theme selector starts -->
			<div class="btn-group pull-right theme-container animated tada">
				<button class="btn btn-default dropdown-toggle"
					data-toggle="dropdown">
					<i class="glyphicon glyphicon-tint"></i><span
						class="hidden-sm hidden-xs">Themes</span> <span class="caret"></span>
				</button>
				<ul class="dropdown-menu" id="themes">
					<li><a data-value="classic" href="#"><i class="whitespace"></i>
							Classic</a></li>
					<li><a data-value="cerulean" href="#"><i class="whitespace"></i>
							Cerulean</a></li>
					<li><a data-value="cyborg" href="#"><i class="whitespace"></i>
							Cyborg</a></li>
					<li><a data-value="simplex" href="#"><i class="whitespace"></i>
							Simplex</a></li>
					<li><a data-value="darkly" href="#"><i class="whitespace"></i>
							Darkly</a></li>
					<li><a data-value="lumen" href="#"><i class="whitespace"></i> Lumen</a></li>
					<li><a data-value="slate" href="#"><i class="whitespace"></i> Slate</a></li>
					<li><a data-value="spacelab" href="#"><i class="whitespace"></i>
							Spacelab</a></li>
					<li><a data-value="united" href="#"><i class="whitespace"></i>
							United</a></li>
				</ul>
			</div>
			<!-- theme selector ends -->
		</div>
	</div>
	<!-- topbar ends -->
	<div class="ch-container">
		<div class="row">
			<!-- left menu starts -->
			<div class="col-sm-2 col-lg-2">
				<div class="sidebar-nav">
					<div class="nav-canvas">
						<div class="nav-sm nav nav-stacked"></div>
						<ul class="nav nav-pills nav-stacked main-menu">
							<li class="nav-header">Main</li>
							<li><a class="ajax-link" href="__APP__/Admin/User"><i
									class="glyphicon glyphicon-calendar"></i><span> 用户管理</span></a></li>
							<li><a class="ajax-link" href="__APP__/Admin/Staff"><i
									class="glyphicon glyphicon-user"></i><span> 职员管理</span></a></li>
							<li><a class="ajax-link" href="__APP__/Admin/Food"><i
									class="glyphicon glyphicon-glass"></i><span> 食品管理</span></a></li>
							<li class="accordion">
	                            <a href="#"><i class="glyphicon glyphicon-star"></i><span> 订单管理</span></a>
	                            <ul class="nav nav-pills nav-stacked">
	                                <li><a  href="__APP__/Admin/Order/index">添加订单</a></li>
	                                <li><a  href="__APP__/Admin/Order/orderList">订单列表</a></li>
	                                <li><a  href="__APP__/Admin/Order/summary">菜品统计</a></li>
	                            </ul>
	                        </li>
	                        <li><a class="ajax-link" href="__APP__/Admin/Finance"><i class="glyphicon glyphicon-bookmark"><span> 财务管理</span></i></a></li>
							<li class="nav-header hidden-md">Other</li>
	                        <li class="accordion">
	                            <a href="#"><i class="glyphicon glyphicon-cog"></i><span> 系统设置</span></a>
	                            <ul class="nav nav-pills nav-stacked">
	                                <li><a  href="__APP__/Admin/System/showList/action/foodType">食品类型</a></li>
	                                <li><a  href="__APP__/Admin/System/showList/action/foodTag">食品标签</a></li>
	                                <li><a  href="__APP__/Admin/System/showList/action/unit">食品单位</a></li>
	                                <li><a  href="__APP__/Admin/System/showList/action/area">配送区域</a></li>
	                                <li><a  href="__APP__/Admin/System/showList/action/orderTime">配送时间</a></li>
	                            </ul>
	                        </li>
	                        <li><a class="ajax-link" href="__APP__/Admin/Enter"><i
									class="glyphicon glyphicon-envelope"></i><span> 消息管理</span></a></li>
						</ul>
					</div>
				</div>
			</div>
			<!--/span-->
			<!-- left menu ends -->

			<noscript>
				<div class="alert alert-block col-md-12">
					<h4 class="alert-heading">Warning!</h4>

					<p>
						You need to have <a href="http://en.wikipedia.org/wiki/JavaScript"
							target="_blank">JavaScript</a> enabled to use this site.
					</p>
				</div>
			</noscript>

			<div id="content" class="col-lg-10 col-sm-10">
				<!-- content starts -->
				<block name="main-content"></block>
				<!-- content ends -->
			</div>
			<!--/#content.col-md-0-->
		</div>
		<!--/fluid-row-->

		<footer class="row">
			<div class="container" align="center">
				&copy; <a href="http://qms.qianmosen.cn/" target="_blank">奇个隆咚强</a> 2012 - <?php echo date('Y'); ?></div>
		</footer>
	</div>
	<!--/.fluid-container-->


	<!-- external javascript -->

	<script
		src="__PUBLIC__/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>

	<!-- 文件上传js -->
	<script type="text/javascript" src="__PUBLIC__/js/ajaxfileupload.js"></script>
	<!-- library for cookie management -->
	<script src="__PUBLIC__/js/jquery.cookie.js"></script>
	<!-- calender plugin -->
	<script src='__PUBLIC__/bower_components/moment/min/moment.min.js'></script>
	<script
		src='__PUBLIC__/bower_components/fullcalendar/dist/fullcalendar.min.js'></script>
	<!-- data table plugin -->
	<script type="text/javascript" src='__PUBLIC__/js/jquery.dataTables.js'></script>
	<script type="text/javascript" src="__PUBLIC__/js/dataTables.bootstrap.js"></script>

	<!-- select or dropdown enhancer -->
	<script src="__PUBLIC__/bower_components/chosen/chosen.jquery.min.js"></script>
	<!-- plugin for gallery image view -->
	<script
		src="__PUBLIC__/bower_components/colorbox/jquery.colorbox-min.js"></script>
	<!-- notification plugin -->
	<script src="__PUBLIC__/js/jquery.noty.js"></script>
	<!-- library for making tables responsive -->
	<script
		src="__PUBLIC__/bower_components/responsive-tables/responsive-tables.js"></script>
	<!-- tour plugin -->
	<script
		src="__PUBLIC__/bower_components/bootstrap-tour/build/js/bootstrap-tour.min.js"></script>
	<!-- star rating plugin -->
	<script src="__PUBLIC__/js/jquery.raty.min.js"></script>
	<!-- for iOS style toggle switch -->
	<script src="__PUBLIC__/js/jquery.iphone.toggle.js"></script>
	<script src="__PUBLIC__/js/bootstrap-switch.min.js"></script>
	<!-- autogrowing textarea plugin -->
	<script src="__PUBLIC__/js/jquery.autogrow-textarea.js"></script>
	<!-- multiple file upload plugin -->
	<script src="__PUBLIC__/js/jquery.uploadify-3.1.min.js"></script>
	<!-- history.js for cross-browser state change on ajax -->
	<script src="__PUBLIC__/js/jquery.history.js"></script>
	<!-- application script for Charisma demo -->
	<script src="__PUBLIC__/js/charisma.js"></script>
	
	<block name="js-content"></block>
</body>
</html>